
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace CMS.Model
{
    [DataContract]
    public  class Teacher
    {
        public Teacher(int id=0,string name=null,string gender=null,int departmentId = 0,Department department=null)
        {
            this.TeacherId=id;
            this.TeacherName=name;
            this.TeacherGender=gender;
            this.DepartmentId = departmentId;
            this.Department=department;
        }
    
        [DataMember]
        public int TeacherId { get; set; }
        [DataMember]
        public string TeacherName { get; set; }
        [DataMember]
        public string TeacherGender { get; set; }
        [DataMember]
        public int DepartmentId { get; set; }
        [DataMember]
        public  Department Department { get; set; }
    }
    
}
